home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / The Golden Parrot / card_24571.txt < prev    next >
Text File  |  1990-08-20  |  1KB  |  46 lines

  1. -- card: 24571 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3426
  5. -- name: The old man smiles
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global score
  9.   subtract 5 from score
  10.   if score <= 0 then
  11.     visual effect scroll up
  12.     go card "end"
  13.   end if
  14.   put score into field "scorebox"
  15. end openCard
  16. on mouseUp
  17.  
  18.   get field "textarea" of card "Mountain Trail"
  19.   put it into holder
  20.   put the number of lines in field "textarea" of card "Mountain Trail" into counter
  21.   repeat until counter = 0
  22.     get line counter of holder
  23.     if it contains "Capture a bird" then
  24.       delete line counter of field "textarea" of card "Mountain Trail"
  25.       put 1 into counter
  26.     end if
  27.     subtract 1 from counter
  28.   end repeat
  29.  
  30.   visual effect dissolve
  31.   go to card "Hut of the Medicine Man"
  32.  
  33. end mouseUp
  34.  
  35.  
  36. -- part contents for background part 1
  37. ----- text -----
  38. The old man smiles
  39.  
  40. -- part contents for background part 2
  41. ----- text -----
  42. With a twinkle in his eye, the old man tells you that, had you not stopped to chat, you would have found and captured a rare bird of great value.
  43.  
  44. -- part contents for background part 5
  45. ----- text -----
  46. 50